<?php

class Default_DojoController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function formAction()
    {
        $request = $this->getRequest();
        $form    = new Default_Form_Dojo();

//        if ($this->getRequest()->isPost()) {
//
//            if ($form->isValid($request->getPost())) {
//
//                $model = new Guestbook_Model_Guestbook($form->getValues());
//                $model->save();
//
//                return $this->_helper->redirector('index');
//            }
//        }
        
        $this->view->form = $form;
    }
    
}

